package org.s170.entity;

import java.sql.Timestamp;

public class Note {
    private int noteid;
    private String tid;
    private String typename;
    private String title;
    private Timestamp pubTime;
    private String userName;
    private String content;
    private String zstxt;

    public String getZstxt() {
        return zstxt;
    }

    public void setZstxt(String zstxt) {
        this.zstxt = zstxt;
    }

    private String typed;
    private int uistop;
    private int istop;
    private int eyes;
    private int comment;
    private int like;
    private int status;
    private String images;


    public int getNoteid() {
        return noteid;
    }

    public void setNoteid(int noteid) {
        this.noteid = noteid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Timestamp getPubTime() {
        return pubTime;
    }

    public void setPubTime(Timestamp pubTime) {
        this.pubTime = pubTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTyped() {
        return typed;
    }

    public void setTyped(String typed) {
        this.typed = typed;
    }

    public int getUistop() {
        return uistop;
    }

    public void setUistop(int uistop) {
        this.uistop = uistop;
    }

    public int getIstop() {
        return istop;
    }

    public void setIstop(int istop) {
        this.istop = istop;
    }

    public int getEyes() {
        return eyes;
    }

    public void setEyes(int eyes) {
        this.eyes = eyes;
    }

    public int getComment() {
        return comment;
    }

    public void setComment(int comment) {
        this.comment = comment;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Note(){}

    public Note(String tid, String typename, String title, String userName, String content,String zstxt, String typed, int uistop, String images) {
        this.tid = tid;
        this.typename = typename;
        this.title = title;
        this.userName = userName;
        this.content = content;
        this.zstxt= zstxt;
        this.typed = typed;
        this.uistop = uistop;
        this.images = images;
    }

    public Note(int noteid, String tid, String typename, String title, Timestamp pubTime, String userName, String content, String zstxt, String typed, int uistop, int istop, int eyes, int comment, int like, int status, String images) {
        this.noteid = noteid;
        this.tid = tid;
        this.typename = typename;
        this.title = title;
        this.pubTime = pubTime;
        this.userName = userName;
        this.content = content;
        this.zstxt = zstxt;
        this.typed = typed;
        this.uistop = uistop;
        this.istop = istop;
        this.eyes = eyes;
        this.comment = comment;
        this.like = like;
        this.status = status;
        this.images = images;
    }

    @Override
    public String toString() {
        return "Note{" +
                "noteid=" + noteid +
                ", tid='" + tid + '\'' +
                ", typename='" + typename + '\'' +
                ", title='" + title + '\'' +
                ", pubTime=" + pubTime +
                ", userName='" + userName + '\'' +
                ", content='" + content + '\'' +
                ", zstxt='" + zstxt + '\'' +
                ", typed='" + typed + '\'' +
                ", uistop=" + uistop +
                ", istop=" + istop +
                ", eyes=" + eyes +
                ", comment=" + comment +
                ", like=" + like +
                ", status=" + status +
                ", images='" + images + '\'' +
                '}';
    }
}
